package com.atguigu.spring.autowired.service;

import com.atguigu.spring.autowired.dao.UserDao;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {


    @Resource
    private UserDao userDao;


    @Override
    public void add() {
        userDao.add();
    }
}
